<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">

    <body>

        <ui:composition template="./common/accountLayout.xhtml">

            <ui:define name="title">
                membres
            </ui:define>

            <ui:define name="top">
                <ui:include src="./common/logout.xhtml"/>
            </ui:define>

            <ui:define name="content">
                <h:form>
            <!--notez la variable pour itérer les colonnes-->
            <h1><h:outputText value="liste des inscrits"/></h1>
            <h:dataTable value="#{memList_backing.accounts}" var="acc" >
                <h:column>
                    <h:commandLink actionListener="#{memList_backing.retrieveDetail}" value="#{acc.authenticationInfo.login}"/>
                </h:column>

            </h:dataTable>
            </h:form>
            <h:outputText binding="#{memList_backing.out}"/>
            </ui:define>

        </ui:composition>

    </body>
</html>
